package com.suse.generator.mybatis.plus;

import com.baomidou.mybatisplus.generator.config.PackageConfig;

public class PackageConfigBuilder {

    private final PackageConfig pc;

    public PackageConfigBuilder(PackageConfig pc) {
        this.pc = pc;
    }

    public PackageConfigBuilder parent(String parent) {
        pc.setParent(parent);
        return this;
    }

    public PackageConfigBuilder module(String module) {
        pc.setModuleName(module);
        return this;
    }

}
